package com.hilatest.wsexample.basic.chapter1;

import java.util.Date;

import javax.jws.WebService;

@WebService(endpointInterface="com.hilatest.wsexample.basic.chapter1.TimeServer")
public class TimeServerImpl implements TimeServer {

	public String getTimeString() {
		return new Date().toString();
	}

	public long getTimeAsElapsed() {
		return new Date().getTime();
	}

}
